package com.spring.wx.oauth.dao;

import com.spring.wx.oauth.entity.UserCompanyEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * Copyright: yueyong (c) 2022
 *
 * @author he.shaorong
 * @version 1.0
 * @date 2022/1/26
 */
@Mapper
public interface CompanyMapper {
    @Select("select * from user_company where uid = #{uid}")
    UserCompanyEntity getUserCompanyEntity(@Param(value = "uid") long uid);
}
